package com.k2.whereareyou.xml;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import com.k2.whereareyou.interfaces.IConstants;

@Root(name="request")
public class PhotoXMLAnsver implements IConstants{
	
	private int type = REQUEST_TYPE_PHOTO;
    private String id;
    private String email;
	private String data;
	private String koord;
	private String nick;
	private Boolean typeKontext;
	private int rating;
	
	@Attribute(name="type")
	public int getType() {
		return type;
	}
	
	@Attribute(name="type")
	public void setType(int type) {
		this.type = type;
	}
	

	@Element(name="id")
	public String getId() {
		return id;
	}
    
    @Element(name="id")
	public void setId(String id) {
		this.id = id;
	}
    
    @Element(name="email")
	public String getEmail() {
		return email;
	}

	@Element(name="email")
	public void setEmail(String email) {
		this.email = email;
	}
    	
		
	@Element(name="data")
	public String getData() {
		return data;
	}
	
	@Element(name="data")
	public void setData(String data) {
		this.data = data;
	}
	
	@Element(name="coordinates")
	public String getKoord() {
		return koord;
	}
	
	@Element(name="coordinates")
	public void setKoord(String koord) {
		this.koord = koord;
	}

	@Element(name="nick")
	public String getNick() {
		return nick;
	}
    
    @Element(name="nick")
	public void setNick(String nick) {
		this.nick = nick;
    }

    @Element(name="typeKontext")
	public Boolean getTypeKontext() {
		return typeKontext;
	}

    @Element(name="typeKontext")
	public void setTypeKontext(Boolean typeKontext) {
		this.typeKontext = typeKontext;
	}

    @Element(name="rating")
	public int getRating() {
		return rating;
	}

    @Element(name="rating")
	public void setRating(int rating) {
		this.rating = rating;
	}
}
